package com.chamber.business.mqtt.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "spring.mqtt")
public class MqttConfigurationProperties {
    private String username;
    private String password;
    private String hostUrl;
    private String puClientId;
    private String subClientId;
    private String defaultTopic;
    private boolean enabled;
    private String qos;
    private boolean clearSession;
    private int timeout;
    private int keepalive;
}
